package com.lute.model;

public enum PositionName {

	BUSINESS_ANALYST(60), DEVELOPER(80), QA(50), SUPPORT(null);
	
	private Integer percentage;
	
	private PositionName(Integer percentage){
		this.percentage	= percentage;
	}
	
	public String toString(){
		if (this == BUSINESS_ANALYST){
			return "businessAnalyst";
		} else if (this == DEVELOPER) {
			return "developer";
		} else if (this == QA) {
			return "QA";
		} else if (this == SUPPORT) {
			return "support";
		} else {
			return null;
		}
	}
	
	public Integer getPercentage(){
		return this.percentage;
	}
}
